package cn.dubito.demo.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author liliang
 * @description:
 * @datetime 18/2/24 下午5:48
 */
@Component
public class NeoProperties {

    @Value("${cn.dubito.title}")
    private String title;

    @Value("${cn.dubito.author}")
    private String author;

    @Value("${cn.dubito.number}")
    private Integer number;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
}
